﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>注册</title>
<meta name="keywords" content="keywords" />
<meta name="description" content="description" />
<{include file="block/meta.tpl"}>
<link type="text/css" rel="stylesheet" href="<{$__HST_UI}>/css<{$_The.ScriptBase}>.css" />
</head>
<body>
<{include file="block/header.tpl"}>

<div class="content">
	<div><h1>注册新用户</h1></div>
	<div class="register_form">
		<form method="post">
		<input type="hidden" name="action" value="register" />
		<input type="hidden" name="back" value="<{$sBack|escape:html}>" />
		<ul>
			<li><span>邮箱：</span>
<input type="text" id="acct" name="acct" value="<{$rP.acct|escape:html}>"
onblur="$.get('?action=check&field=acct&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#acct_hint').html(msg).show();}else{$('#acct_hint').hide();}
});" />
<span class="hint" id="acct_hint"<{if !$rMsg.acct}> style="display:none;"<{/if}>><{$rMsg.acct|escape:html}></span>
			</li>
			<li><span>密码：</span>
<input type="password" name="pswd"
onblur="$.get('?action=check&field=pswd&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#pswd_hint').html(msg).show();}else{$('#pswd_hint').hide();}
});" />
<span class="hint" id="pswd_hint"<{if !$rMsg.pswd}> style="display:none;"<{/if}>><{$rMsg.pswd|escape:html}></span>
			</li>
			<li><span>重复：</span>
<input type="password" name="rpt_pswd"
onblur="$.get('?action=check&field=pswd&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#rpt_pswd_hint').html(msg).show();}else{$('#rpt_pswd_hint').hide();}
});" />
<span class="hint" id="rpt_pswd_hint"<{if !$rMsg.rpt_pswd}> style="display:none;"<{/if}>><{$rMsg.rpt_pswd|escape:html}></span>
			</li>
			<li><span>昵称：</span>
<input type="text" id="nick" name="nick" value="<{$rP.nick|escape:html}>"
onblur="$.get('?action=check&field=nick&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#nick_hint').html(msg).show();}else{$('#nick_hint').hide();}
});" />
<span class="hint" id="nick_hint"<{if !$rMsg.nick}> style="display:none;"<{/if}>><{$rMsg.nick|escape:html}></span>
			</li>
			<li><span>同意条款：</span>
<input type="checkbox" id="agree" name="agree" value="yes" />我已阅读<a href="javascript:void(0);">《条款》</a>并表示接受
<span class="hint" id="agree_hint"<{if !$rMsg.agree}> style="display:none;"<{/if}>><{$rMsg.agree|escape:html}></span>
			</li>
			<li>
				<input type="submit" value="注册" />
				<a href="login.php">已有账号？请登录</a>
			</li>
		</ul>
		</form>
	</div>
</div>

<{include file="block/footer.tpl"}>
</body>
</html>
